/*
 * @Author: 
 * @Date: 2025-06-11 14:11:15
 * @LastEditTime: 2025-07-07 18:37:33
 * @Description: 
 */
class User {
  final String username;
  final String name;
  final String? avatar;
  final int pwdChangeCount;
  final List<dynamic> roleInfo;
  final int? userId;
  final int? warehouse;

  User({
    required this.username,
    required this.name,
    this.avatar,
    required this.pwdChangeCount,
    required this.roleInfo,
    this.userId,
    this.warehouse,
  });
}
class RoleInfo{
  final String id;
  final String name;
  final String key;

  RoleInfo({
    required this.id,
    required this.name,
    required this.key,
  });
}
class Warehouse{
  final int id;
  final String code;

  Warehouse({
    required this.id,
    required this.code,
  });
}